package com.example.springbootmybatismysqloracle.service.impl;

import com.example.springbootmybatismysqloracle.dto.User;
import com.example.springbootmybatismysqloracle.mapper.UserMapper;
import com.example.springbootmybatismysqloracle.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author hsf
 * @date 2023/2/14 17:45
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public User queryUser() {
        return userMapper.queryUser();
    }
}
